package com.thread.t9;

/**
 * @author zhengzihong
 * @version 1.0.0
 * @date 2018/9/20
 * @Description
 */
public class Test9 {

    public static void main(String[] args) {
        run();
        System.out.println("-------------------");
        start();
    }


    public static void run() {
        MyThread9 myThread9 = new MyThread9();
        System.out.println("run begin=:" + System.currentTimeMillis());
        myThread9.run();
        System.out.println("run end=:" + System.currentTimeMillis());

    }

    public static void start() {
        MyThread9 myThread9 = new MyThread9();
        System.out.println("start begin=:" + System.currentTimeMillis());
        myThread9.start();
        System.out.println("start end=:" + System.currentTimeMillis());
    }
}
